Socket
Socket
Sign inDemoInstall

@barchart/events-api-common

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/events-api-common

Common classes used by the Barchart Event Tracking System


Version published
Maintainers
1
Created
Source

@barchart/events-api-common

AWS CodeBuild

A public library of shared JavaScript code used by the Barchart Event Tracking System and client SDK.

Overview

Simply put, this project contains code that runs on both the servers (i.e. Serverless applications) and clients (e.g. browser, mobile, etc).

/lib/data/serialization

Data is passed between client and server in JSON format. However, the code works with more complex types. For example, Decimal instances are used in place of native JavaScript floats and Day instances are used instead of native JavaScript Dates.

So, before data is exchanged, it must be converted to pure JSON. Conversely, when data is received, as pure JSON, its translated into more complex types before use. This is facilitated by the Schema definitions which build custom "reviver" functions for JSON parsing.

Notable Consumers

Package Managers

This library has been published as a public module to NPM as @barchart/events-api-common.

npm install @barchart/events-api-common -S

FAQs

Package last updated on 30 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc